package demo;


import demo.standard.*;

public class ClientForStandard {

    public static void main(String[] args) {

        IHandler handler1 = new ConcreteHandler1();
        IHandler handler2 = new ConcreteHandler2();
        IHandler handler3 = new ConcreteHandler3();

        handler1.setNext(handler2);
        handler2.setNext(handler3);

        handler1.exec(new Request());
    }
}
